bitkeeper revision 1.1159.223.22 (41f2c983tNSS8-VlWIzF9A78zTQx-w)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Sat, 22 Jan 2005 21:45:39 +0000 (21:45 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Sat, 22 Jan 2005 21:45:39 +0000 (21:45 +0000)
Description: add force-reload option
Debian policy requires init scripts to implement force-reload.  So, alias
that to restart.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
tools/examples/init.d/xend

index 39324c7930f5f808baa53a8295055d4aabdee005..fc94c17dd2178bd39f01e2ed7c497a9f0a3c51eb 100755 (executable)
@@ -32,14 +32,14 @@ case "$1" in
   status)
        xend status
        ;;
-  restart|reload)
+  restart|reload|force-reload)
        xend restart
        await_daemons_up
        ;;
   *)
        # do not advertise unreasonable commands that there is no reason
        # to use with this device
-       echo $"Usage: $0 {start|stop|status|restart|reload}"
+       echo $"Usage: $0 {start|stop|status|restart|reload|force-reload}"
        exit 1
 esac